<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>创新创业教师管理系统</title>
	<link rel="stylesheet" type="text/css" href="style/all.css">
	<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
	<script type="text/javascript" src="js/main.js"></script>
	<!-- 字体图标 -->
	<script src="plug/font/iconfont.js"></script>
</head>
<body class="bg_i">
	<!-- 顶部 -->
	<div class="header">
		<div class="head">
			<img src="./images/school.jpg" alt="logo">
			<span class="logo">创新创业教师管理系统</span>
			<div class="nav">
				<a href="index.html" class="home">
					<svg class="icon" aria-hidden="true">
						<use xlink:href="#icon-riqi"></use>
					</svg>
					2017.09.01
				</a>
				<div class="home email">
					<svg class="icon" aria-hidden="true">
						<use xlink:href="#icon-seeusero"></use>
					</svg>
					<span>王老师</span>
					<div class="e_list">
						<div class="tran"></div>
						<div class="tran_g"></div>
						<ul>
							<li><a href="user_T.html">修改密码</a></li>
							<li><a href="javascript:;">清除缓存</a></li>
							<li><a href="login.html">退出</a></li>
						</ul>
					</div>
				</div>
				<!-- 邮件 -->
				<div class="home email">
					<svg class="icon" aria-hidden="true">
						<use xlink:href="#icon-email"></use>
					</svg>
					<span class="num">2</span>
					<div class="e_list">
						<div class="tran"></div>
						<div class="tran_g"></div>
						<ul>
							<li><a href="index_T.html">与我相关</a></li>
						</ul>
					</div>
				</div>
				<a href="login.html" class="home email">
					<svg class="icon" aria-hidden="true">
						<use xlink:href="#icon-tuichu-copy"></use>
					</svg>
					<span>退出</span>
				</a>
			</div>
		</div>
	</div>
	<!-- 主体 -->
	<div class="container_i">
		<!-- 左边侧边栏 -->
		<div class="left">
			<div class="navbox">
				<div class="title">菜单中心</div>
				<ul class="nav">
					<li><a href="student_item_T.html">个人信息</a></li>
					<li><a href="index_T.html">通知消息</a></li>
					<li><a href="creation_info_T.html">创业信息</a></li>
					<li><a href="item_manage_T.html">项目管理</a></li>
					<li><a href="user_T.html"  class="hover">用户管理</a></li>
					<li><a href="login.html">退出</a></li>
				</ul>
			</div>
		</div>
		<!-- 右边侧边栏 -->
		<div class="right">
			<!-- 用户管理部分 -->
			<div class="item">
				<div class="btn">
					<span class="span_t">用户管理</span>
					<button class="change">修改</button>
					<button class="sure">确认</button>
					<div class="clear"></div>
				</div>
				<table border="1" class="user_t">
					<tr>
						<td class="one">姓名</td>
						<td class="two"><input type="text" value="王老师"></td>
					</tr>
					<tr>
						<td class="one">邮箱</td>
						<td class="two"><input type="text" value="111111111116@qq.com"></td>
					</tr>
					<tr>
						<td class="one">初始密码</td>
						<td class="two"><input type="text" type="password" name="pre_p"></td>
					</tr>
					<tr>
						<td class="one">新密码</td>
						<td class="two"><input type="text" type="password"></td>
					</tr>
					<tr>
						<td class="one">确认密码</td>
						<td class="two"><input type="text" type="password"></td>
					</tr>
				</table>
				<p class="warming"></p>
			</div>
		</div>
		<div class="clear"></div>
	</div>
	<script type="text/javascript">
	$(function(){
		$("input").attr("disabled","false").css("border","none");
		$(".change").click(function(){
			$("input").removeAttr("disabled").css("border","1px solid #D8D8D8");
			$(this).hide();
			$(".sure").show()
		})
		$(".sure").click(function(){
			if($("input[name='pre_p']").val()==""){
				$(".warming").html("初始密码不能为空");
				return false;
			}else{
				$(".warming").html("");
			}
			$("input").attr("disabled","false").css("border","none");
			$(this).hide();
			$(".change").show();
		})
	})
	</script>
</body>
</html>